package cn.sitedev.improved;

/**
 * @author qchen
 * @description 正方形
 * @date 2020/9/16 6:45
 */
public class Square implements Quadrangle {
    private long length;

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public long getHeight() {
        return this.getLength();
    }

    public void setHeight(long height) {
        this.setLength(height);
    }

    public long getWidth() {
        return this.getLength();
    }

    public void setWidth(long width) {
        this.setLength(width);
    }
}
